]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st: Use correct type for CoglTexture
authorBilal Elmoussaoui <belmouss@redhat.com>
Tue, 19 Sep 2023 19:09:01 +0000 (21:09 +0200)
committerMarge Bot <marge-bot@gnome.org>
Sun, 29 Oct 2023 21:28:31 +0000 (21:28 +0000)
No idea how come CoglPipeline was used here but the fact that everything
was a CoglHandle, made things just work despite being wrong?

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2964>

src/st/st-theme-node-private.h
src/st/st-theme-node.h

index da6e4ce96475523e9664a94b400737827edf7a56..02eb95e52dc8c52e612eadef5d18f53684f71fd2 100644 (file)
@@ -107,9 +107,9 @@ struct _StThemeNode {
 
   guint stylesheets_changed_id;
 
-  CoglPipeline *border_slices_texture;
+  CoglTexture *border_slices_texture;
   CoglPipeline *border_slices_pipeline;
-  CoglPipeline *background_texture;
+  CoglTexture *background_texture;
   CoglPipeline *background_pipeline;
   CoglPipeline *background_shadow_pipeline;
   CoglPipeline *color_pipeline;
index 520e29f4f4fde972e4d02e4454ad65e8bf12434c..b8e0d30a7e1d777264dea57dafa46dd596ad41ee 100644 (file)
@@ -170,7 +170,7 @@ struct _StThemeNodePaintState {
   float resource_scale;
 
   CoglPipeline *box_shadow_pipeline;
-  CoglPipeline *prerendered_texture;
+  CoglTexture *prerendered_texture;
   CoglPipeline *prerendered_pipeline;
   CoglPipeline *corner_material[4];
 };